<!DOCTYPE html>
<html lang="zh-CN">
  	<head>
	    <meta charset="utf-8">
	    <meta http-equiv="X-UA-Compatible" content="IE=edge">
	    <meta name="viewport" content="width=device-width, initial-scale=1">
	    <title>D-Meta</title>
	    <link href="http://static.cnblogs.com/favicon.ico" rel="shortcut icon">
	    <!-- Bootstrap -->
	    <link href="/bootstrap/css/bootstrap.min.css" rel="stylesheet">
	    <link href="/css/main.css" rel="stylesheet">
	    <link href="/css/dashboard.css" rel="stylesheet">
	    <link href="/css/flexslider.css" rel="stylesheet">

	    <link rel="shortcut icon" href="/image/icon/favicon.ico">
	    <link rel="apple-touch-icon-precomposed" sizes="144x144" href="/image/icon/apple-touch-icon-144-precomposed.png">
	    <link rel="apple-touch-icon-precomposed" sizes="114x114" href="/image/icon/apple-touch-icon-114-precomposed.png">
	    <link rel="apple-touch-icon-precomposed" sizes="72x72" href="/image/icon/apple-touch-icon-72-precomposed.png">
	    <link rel="apple-touch-icon-precomposed" href="/image/icon/apple-touch-icon-57-precomposed.png">
 	</head>
	<body>
	    <nav class="navbar navbar-inverse navbar-fixed-top">
	      <div class="container">
	        <div class="navbar-header">
	          <button type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#navbar" aria-expanded="false" aria-controls="navbar">
	            <span class="sr-only">Toggle navigation</span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	            <span class="icon-bar"></span>
	          </button>
	          <a class="navbar-brand" href="/">D-Meta</a>
	        </div>
	        <div id="navbar" class="navbar-collapse collapse">
	          <ul class="nav navbar-nav">
	            <li><a href="/index.html">元数据搜索</a></li>
	            <li><a href="/lineage.html">数据血统</a></li>
	            <li class="active dropdown-toggle" ><a href="/dashboard.html">管理</a></li>
	          </ul>
	        </div>
	      </div>
	    </nav>

      

	    <div class="container main-container" role="main" style="margin-top: 10rem">
	   		<row>
	   			<div class="col-md-2">
	   				<ul class="nav nav-pills nav-stacked">
	   					<li role="presentation" class="active chooseLabel" id="sourceLabel"><a href="#" onClick="clickSource()">数据源</a></li>
	   					<!--li role="presentation" id="viewLabel"><a href="#" onClick="clickView()">系统监视</a></li-->
	   					<!--li role="presentation" id="configLabel"><a href="#" onClick="clickConfig()">配置</a></li-->
					</ul>
	   			</div>

	   			<div class="col-md-10" id="dashboardContainer">
	   				<div id="sourceRow">
	   				</div>
				    <!--row id="viewRow">
				      <div class="panel panel-success viewRow" style="display: none;">
				        <div class="panel-heading">
				        	<h3 class="panel-title">系统监视</h3>
				        </div>
				        <div class="panel-body">
				          
				            <div class="col-sm-3 col-lg-3">
				              <div class="dash-unit">
				                <dtitle>资源使用</dtitle>
				                <hr>
				                <div id="space"></div>
				                <h2>65%</h2>
				              </div>
				            </div>

				            <div class="col-sm-3 col-lg-3">
				              <div class="half-unit">
				                <dtitle>Local Time</dtitle>
				                <hr>
				                  <div class="clockcenter">
				                    <digiclock>12:45:25</digiclock>
				                  </div>
				              </div>

				              <div class="half-unit">
				                    <dtitle>Server Uptime</dtitle>
				                    <hr>
				                    <div class="cont">
				                  <p><img src="/image/up.png" alt=""> <bold>Up</bold> | 356ms.</p>
				                </div>
				              </div>

				            </div>

				          
				        </div>
				      </div>
				    </row-->

				    <!--row id="configRow">
				      <div class="panel panel-success configRow" style="display: none;">
				        <div class="panel-heading">
				          <h3 class="panel-title">配置</h3>
				        </div>
				        <div class="panel-body">
				          
				            <div class="col-sm-3 col-lg-3">
				              <div class="dash-unit">
				                <dtitle>基础配置</dtitle>
				                <hr>
				                <div class="cont">
				                  <form action="#get-in-touch" method="POST" id="contact" class="form-inline">
				                    <div class="form-group" style="margin-bottom: 2rem">
				                      <label for="duration">抽取间隔</label>
				                      <input type="text" class="form-control" id="duration" name="duration" placeholder="抽取间隔" style="margin-bottom: 0">
				                    </div>
				                    <input type="submit" id="submit" name="submit" value="立即修改">
				                  </form>
				                </div>
				              </div>
				            </div>
				          
				        </div>
				      </div>
				    </row-->
	   			</div>
	   		</row>
	      
			<div id="addModal" class="modal fade in" style="display: none; ">
				<div class="modal-dialog">
		            <div class="modal-content">
						<div class="modal-header">
							<a class="close" data-dismiss="modal">×</a>
							<h4>添加一个<span id="addSourceName"></span>数据源</h4>
						</div>
						<div class="modal-body">
							<form id="addForm">
							</form>
						</div>
						<div class="modal-footer">
							<a href="#" class="btn btn-success" onclick="addSource()">添加</a>
							<a href="#" class="btn btn-info" data-dismiss="modal">取消</a>
						</div>
					</div>
				</div>
			</div>

			<div id="updateModal" class="modal fade in" style="display: none; ">
				<div class="modal-dialog">
		            <div class="modal-content">
						<div class="modal-header">
							<a class="close" data-dismiss="modal">×</a>
							<h4>修改<span id="updateSourceName"></span>数据源</h4>
						</div>
						<div class="modal-body">
							<form id="updateForm">
							</form>
						</div>
						<div class="modal-footer">
							<a href="#" class="btn btn-success" onclick="updateSource()">修改</a>
							<a href="#" class="btn btn-info" data-dismiss="modal">取消</a>
						</div>
					</div>
				</div>
			</div>

	    </div>
	    <script src="/js/require.js"></script>
	    <script src="/js/require-setup.js"></script>
	    <script src="/js/navigator/dashboard.js"></script>
	</body>
</html>